@ECHO OFF

REM make trainsets - download 
python prepare_trainsets.py

REM make testset - denoised
python preprocess_UVR_denoise.py -I data\testset -O data_preprocessed\testset.mdx

REM make testset - clipped for submit infer
python preprocess_norm_cut.py -I data_preprocessed\testset.mdx -O data_preprocessed\testset.mdx-1s
python preprocess_norm_cut.py -I data_preprocessed\testset.mdx -O data_preprocessed\testset.mdx-1s_trim --trim


REM finetune model
python run_whisper_train.py

python run_whisper_train.py ^
  -M large-v3-turbo


REM infer pretrained model (sanity test on trainset)
python test_whisper_lid.py

REM infer pretrained model
python run_whisper_infer.py ^
  -I data_preprocessed\testset.mdx

REM infer finetuned model
python run_whisper_infer.py ^
  -I data_preprocessed\testset.mdx-1s_trim ^
  -C log\whisper-base.20250824_185511.135687\checkpoint-best

python run_whisper_infer.py ^
  -I data_preprocessed\testset.mdx-1s ^
  -C log\whisper-large-v3-turbo.20250826_212749.965343\checkpoint-best
